﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
   assembly="Portal.Core" namespace="Portal">
  <class name="Portal.Album, Portal.Core" table="TbAlbum" dynamic-insert="true" dynamic-update="true">
    <id name="Id"  column="CoAlbumId"  type="String" >
      <generator class="assigned"/>
    </id>
    <property name="Name" column="CoName"  type="String" />

    <property name="CreateTime" column="CoCreateTime"  type="DateTime" />

    <property name="IsDelete" column="CoIsDelete"  type="Boolean" />

    <property name="Version" column="CoVersion"  type="Int64" />

    <property name="IsClosed" column="CoIsClosed"  type="Boolean" />

    <property name="Culture" column="CoCulture"  type="String" />

    <property name="Sort" column="CoSort"  type="Int64" />

    <property name="CoverImage" column="CoCoverImage"  type="String" />

    <property name="Description" column="CoDescription"  type="String" />

  </class>
</hibernate-mapping>
